﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using App.Domain.Contracts;
using System.Web.UI;

namespace App.Web.Controllers
{
    public class HomeController : AuthorizedController
    {
        public HomeController(IUserServices userServices)
            : base(userServices, null)
        {
        }

        //
        // GET: /Home/
        [OutputCache(Location = OutputCacheLocation.None)]
        public ActionResult Index()
        {
            if (Request.IsAuthenticated)
                return RedirectToAction("List","Position");

            return View();
        }

    }
}
